package com.dona.imsidetector.bean.vo;

import com.dona.imsidetector.db.entity.BwList;
import com.dona.imsidetector.db.entity.ListItem;

import java.util.Date;
import java.util.List;


public class BwListVo {

    private String uuid;

    private String title;

    private Date createTime;

    private String user;

    private List<ListItem> listItems;

    public BwListVo(){}
    public BwListVo(BwList bwList){
        this.uuid = bwList.getUuid();
        this.createTime = bwList.getCreate_time();
        this.user = bwList.getUser();
        this.title = bwList.getTitle();
    }

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUser() {
        return user;
    }

    public void setUser(String user) {
        this.user = user;
    }



    public List<ListItem> getListItems() {
        return listItems;
    }

    public void setListItems(List<ListItem> listItems) {
        this.listItems = listItems;
    }

    @Override
    public String toString() {
        return "BwListVo{" +
                "uuid='" + uuid + '\'' +
                ", title='" + title + '\'' +
                ", createTime=" + createTime +
                ", user='" + user + '\'' +
                ", listItems=" + listItems +
                '}';
    }
}
